package cn.doways.api.utils;

import java.util.ArrayList;
import java.util.concurrent.ThreadLocalRandom;

/**
 * @ClassName SmsSixNumberUtils
 * @Description //TODO
 * @Author shellming
 * @Date 2019-08-10 23:34
 **/
public class SmsSixNumberUtils {

    public static ArrayList<String> make(){
        ArrayList<String> params=new ArrayList<>();
        StringBuilder stringBuilder=new StringBuilder();
        ThreadLocalRandom.current().ints(0, 9).distinct().limit(6).forEach(stringBuilder::append);
        params.add(stringBuilder.toString());
        params.add("5");
        return params;
    }
}
